home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / telecomm / opterm05.lzh / PRG / XYZ.TXT < prev    next >
Text File  |  1990-11-19  |  45KB  |  1,031 lines

  1.                           STARFALL SOFTWARE PRESENTS
  2.                                XYZ version 2.0
  3.                                ===============
  4.                                By Alan Hamilton
  5.                    Copyright (C) 1990, all rights reserved
  6.  
  7.  
  8. 1 WHAT IT IS
  9.  
  10. Here it is.... all you need for transferring files with your ST. I was
  11. frustrated by the limitations that the ST version of RZ.TTP and SZ.TTP had, so
  12. I wrote my own, and I'm willing to fix any bugs that turn up in it.
  13.  
  14. XYZ version 2.0 is SHAREWARE and copyrighted.  You may freely pass it around
  15. and post it on private or public BBSs.  If you like it, please help out by
  16. making a contribution.  I suggest $10, but if you think XYZ is worth less, or
  17. more, send whatever you think is fair.  The previous version, v1.43, is not
  18. copyrighted and still free, so if it serves your needs, feel free to continue
  19. using it.
  20.  
  21. Send comments, contributions, etc. to:   Alan Hamilton
  22.                                          6202 N. 16th St. #202
  23.                                          Phoenix, AZ  85016-1734
  24.  
  25.  
  26. Features include:
  27. 1.  Transfers all files unchanged -- "binary" mode.
  28. 2.  Transfers files at the maximum speed the system you are connected to can
  29. support.  No "wait states."
  30. 3.  The timestamps on the files are preserved, unless you don't want them to
  31. be.  You are told, in regular calendar format, what the timestamp is.
  32. 4.  Interrupted transfers can be restarted where they left off (in ZMODEM).
  33. 5.  You are kept informed as to how much of the file has actually been
  34. received, not how many bytes have been received in the current session.  If
  35. you tried to restart a transfer with RZ.TTP, you wouldn't know where you
  36. were.
  37. 6.  There is no feature six.
  38. 7.  Filenames that aren't compatible with the ST are transformed into ones
  39. that are, not just truncated at the first illegal character.  If they can't be
  40. converted, a random filename is chosen.  These transformed filenames are
  41. unique -- no more losing a file because after being truncated because it was
  42. the same as a previous filename.
  43. 8.  Works with all ST, STe and Mega ST configurations.
  44. 9.  Includes versions of XMODEM and YMODEM for completeness.
  45.  
  46.  
  47. 2  LEGAL STUFF
  48.  
  49. XYZ is copyright (C) 1990 by Alan Hamilton, all rights reserved.  It may be
  50. copied and distributed freely provided that the XYZ.TTP, XYZ.DOC, and READ.ME
  51. files are all included.  If distributed for a fee, it should be made clear to
  52. the purchaser that the fee does not include the shareware fee (see above).
  53.  
  54. XYZ is shareware.  If you use XYZ, please register it.  I suggest a $10
  55. registration fee, but if you think it's worth more, or less, send that
  56. amount.
  57.  
  58. Although I've done my best to test XYZ, it's offered "as is" with no guarantee
  59. at all.  You use it at your own risk.  I will not be responsible for any
  60. losses you may suffer from using it.
  61.  
  62.  
  63. 3  ACKNOWLEDGMENTS
  64.  
  65. XMODEM was developed by Ward Christenson.
  66. YMODEM and ZMODEM were developed by Chuck Forsberg of Omen Technology.
  67. CRC code by Stephen Satchell of Satchell Evaluations, and Chuck Forsberg of
  68. Omen Technology.
  69. Flash is a trademark of Antic Publishing.
  70. C library code copyright (C)1988 by the Mark Williams Company.
  71. 520ST, 1040ST, STe, Mega ST and Mega STe are trademarks of Atari, Inc.
  72. GEnie is a trademark of GEISCO/General Electric.
  73. GEM and GEM Desktop are trademarks of Digital Research.
  74.  
  75. 4  WHAT IT ISN'T
  76.  
  77. Although XYZ supports the most useful parts of the ZMODEM protocol, there are
  78. a few things that aren't.
  79.  
  80. 1.  Commands.  This part of the ZMODEM protocol was intended to allow you to
  81. remotely control a system.  Since XYZ is intended to be manually operated, and
  82. the ST doesn't have a standard command line interface, commands are not
  83. accepted.
  84. 2.  Compression.  Neither run-length encoding (RLE) nor Lempel-Ziv-Welch (LZW)
  85. compression is supported.  You can use a separate utility to compress files
  86. and then send them with XYZ if you want.
  87. 3.  Challenges.  XYZ does not try to verify that it is connected to a system
  88. that is ready for ZMODEM.  It assumes that you have already told that system
  89. to go to ZMODEM.
  90. 4.  Pathnames.  XYZ does not send any path information to the remote system,
  91. and strips off any it receives.
  92. 5.  Selective file replacement.  The ZMODEM protocol lets you selectively
  93. transfer files based on whether they exist or don't exist at the receiver, or
  94. whether they are different in file size, date, or CRC.  XYZ only does one of
  95. two things while downloading:  If a file does not exist, it is transferred in
  96. its entirety.  If it does exists, it assumes that you are resuming a file
  97. transfer that was aborted, and tries to resume at the end of what you have.
  98. When uploading, the remote system will decide which files to accept.
  99. 6.  File transmission resumption.  Do not try to download a file that already
  100. exists on your disk unless you are trying to recover an aborted transfer.  The
  101. file will be damaged if it is a different file, despite having the same name.
  102. If the file was previously received in its entirety, and you try to restart a
  103. download on it, it probably won't be damaged, but this depends on how the
  104. sender reacts, so be careful.
  105. 7.  Disk space check.  If the sender tries to check on how much space you have
  106. available on your disk, XYZ will always tell it that you have an unlimited
  107. amount.  This was done because checking the disk space is a very slow
  108. operation on hard drives.
  109. 8.  Encrypting.  File encryption is not supported.
  110. 9.  Seven bit transfers.  Transferring eight bit files (non-text files) over
  111. lines that only support seven bits per character is not supported.  This is
  112. something you'd only run into with a mainframe.
  113. 10.  Sparse files.  Transferring selected portions of a file that's mostly
  114. zeros is not supported.  The entire file must be sent.
  115. 11.  32 bit CRCs.  XYZ only uses 16 bit CRCs, which should be sufficient
  116. unless you are really paranoid about data integrity.
  117. 12.  CRC checks on files.  Some systems will do this to determine whether or
  118. not they have the same version of a file as the one you are sending.  XYZ
  119. doesn't support this check at this time.
  120.  
  121. 5  HOW TO USE IT
  122.  
  123. 5.1  Configuration
  124. XYZ is mainly intended to be run from inside a regular telecommunications
  125. terminal program.  Because of this, it does not alter the settings of your
  126. ST's RS232 port from what the terminal program has set them to.  For XYZ the
  127. RS232 port should be set as follows:
  128.  
  129. Baud (or bits per second or BPS):
  130. This should match what the system you are connecting with requires, and what
  131. your modem is capable of.
  132. Data bits:     8
  133. Parity:        None
  134. Stop bits:     1 or 2
  135. Flow control:  XOFF/XON (also called DC2/DC4):  OFF
  136.                RTS/CTS:  OFF, unless you are using a high-speed modem that
  137. requires it to be on.
  138.  
  139. These settings are very common, so you probably won't have to change them.
  140.  
  141. 5.2  Running from the Desktop
  142. If you can't run programs from within your terminal program, or your memory
  143. space is limited, you will have to exit to the Desktop to run XYZ.  Set the
  144. remote system up for the transfer, then exit your terminal program.  Open XYZ,
  145. and a dialog box will appear.  Type in the options (see below for the options
  146. available), click on OK, and the transfer will start.  One of the options you
  147. will want to specify is -p which will make XYZ pause before it returns to the
  148. GEM Desktop.  If you don't specify a folder to download to, the files will go
  149. into the same folder that XYZ is in.  After XYZ finishes, it will exit back to
  150. the Desktop.  You may then rerun your terminal program and continue.
  151.  
  152. If you can run programs from within your terminal program, life gets much
  153. easier.  If, however, your terminal program doesn't let you pass parameters to
  154. a .TTP program, you will only be able to download only with ZMODEM and to the
  155. default folder.  See the manual for your terminal program for directions on
  156. running other programs.
  157.  
  158. In Flash, the command is "exec xyz.ttp" (omit the quote marks).  Any options
  159. go after the program name.  If you are keeping XYZ in a different folder than
  160. the default one (s